<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Guest extends CI_controller{
	
	function __construct(){
	parent::__construct();
	}
   
	/*function index()
	{
		$this->load->model('kuesioner_model');
		if(!$this->session->userdata('id_user')){
			$data['kuesioner'] = $this->kuesioner_model->get_all_kuesioner();
			$this->load->view('home',$data);
		} else
			{
				redirect('kuesioner/list_kuesioner');
			} 
	}*/
	function index()
	{
		$this->load->view('login');
	}
	
	function list_data()
	{
		$this->load->model('kuesioner_model');
		$data['kuesioner'] = $this->kuesioner_model->get_all_kuesioner();
		$this->load->view('list_semua_data',$data);
	}
	
	
}
?>